package org.example.json.naming;

import lombok.EqualsAndHashCode;
import lombok.Getter;
import org.example.json.inspect.Probe;

@Getter
@EqualsAndHashCode
public class Person {
    private String firstName;
    private String lastName;
    private int age;

    private Person() {
        Probe.run(Person.class);
    }

    public Person(String firstName, String lastName, int age) {
        Probe.run(Person.class, firstName, lastName, age);
        this.firstName = firstName;
        this.lastName = lastName;
        this.age = age;
    }
}
